import React, { Component } from 'react'

export default class New extends Component {
  constructor(props){
    super(props)
  

  this.state={
    username:'kevin'
    }
  }

  _change=event=>{
    this.setState({username:event.target.value})
  }
  render() {
    return (
      <div>
        <input type="text" value={this.state.username} 
        onChange={this._change}/>
        <h3>{this.state.username}</h3>
      </div>
    )
  }
}
